#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include<string>
using namespace std;

class Dog
{
private :
	std::string name;
	int age;
	std::string sex;
	double weight;

public:
	void setdata(std::string n, int a, std::string s, double w)
	{
		name = n;
		age = a;
		sex = s;
		weight = w;
	}

	std::string getname()
	{
		return name;
	}

	int getage()
	{
		return age;
	}

	std::string getsex()
	{
		return sex;
	}

	double getweight()
	{
		return weight;
	}
};

int main()
{
	string n;
	int a;
	string s;
	double w;
	cin >> n >> a >> s >> w;

	Dog d1;
	d1.setdata(n, a, s, w);

	cout << "It is my dog."<<endl;
	cout <<"Its name is "<<d1.getname()<<"."<< endl;
	cout <<"Its is "<<d1.getage()<<" years old."<< endl;
	cout <<"It is "<<d1.getsex()<<"."<< endl;
	cout <<"It is "<<d1.getweight()<<" kg." << endl;

	return 0;
}
